package com.design.pattern.compound;

public class Quackologist implements Observer {
    public void update(QuackObservable duck) {
        System.out.println("Quackologist:"+duck + "just quacked.");
    }
}